package com.mywang.weitravel.modules.study;

import com.mywang.weitravel.base.BaseContract;
import com.mywang.weitravel.model.StudyBean;
import com.mywang.weitravel.model.StudyDetailBean;

import java.util.List;

/**
 * Created by wangmingyun on 2019/12/11.
 */
public interface StudyContract {
    interface View extends BaseContract.IView {
        void onSuccess(List<StudyBean> list);

        void onDetailSuccess(StudyDetailBean bean);
    }

    interface Presenter extends BaseContract.IPresenter<StudyContract.View> {
        void getData();

        void getStudyDetail(String id);
    }
}
